%@ Language=VBScript %>
<%
If session("agentusername")="" Then
ef=True
ec="授权非法,有可能是超时造成的。"
ElseIf Request("id")<>"" and not IsNumeric(Request("id")) Then
ef=True
ec="编号必须是数字"
end if
if not ef then%>
<%session("FreeHostCom").FreeHost_WR("html5")%>
新闻/帮助设置
<%session("FreeHostCom").FreeHost_WR("html6")%>
<%
Set conn=Server.CreateObject("ADODB.Connection")
conn.Open Application("FreeHostDBlink")
Set dsnewsone = Server.CreateObject("ADODB.Recordset")
Sql="Select * from FreeHost.FreeHost_News where id='"&Request("id")&"'"
dsnewsone.Open Sql,conn,1,1
if not dsnewsone.eof then
title=dsnewsone("title")
scon=dsnewsone("con")
end if
dsnewsone.close
%>
网站新闻或公告设置 |
|
|
编号 | 一级类型 | 二级类型 | 顺序号 | 分类号 | 标题 | 时间 | 操作 |
<%=dsnews("id")%> | " target=_blank> <%if dsnews("type1")=0 then%> 新闻类 <%elseif dsnews("type1")=1 then%> 帮助类 <%elseif dsnews("type1")=2 then%> 内部通知类 <%end if%> | " target=_blank> <%if dsnews("type1")>0 then%> <%if dsnews("type2")=0 then%> 域名类 <%elseif dsnews("type2")=1 then%> 虚拟主机类 <%elseif dsnews("type2")=2 then%> 邮箱类 <%elseif dsnews("type2")=3 then%> 数据库类 <%elseif dsnews("type2")=4 then%> IDC类 <%elseif dsnews("type2")=5 then%> 网站建设类 <%elseif dsnews("type2")=6 then%> 付款类 <%elseif dsnews("type2")=7 then%> 其他类 <%elseif dsnews("type2")=100 then%> 全部用户 <%elseif dsnews("type2")=101 then%> 直接用户 <%elseif dsnews("type2")=102 then%> 代理名下用户 <%elseif dsnews("type2")=103 then%> 全部代理 <%elseif dsnews("type2")=104 then%> 直接代理 <%elseif dsnews("type2")=105 then%> 子代理 <%end if%> <%end if%> | " target=_blank><%=dsnews("orderbyid")%> | " target=_blank><%=dsnews("typeid")%> | " target=_blank><%=dsnews("title")%> | <%=dsnews("posttime")%> |
">修改 ">删除 |